home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _AC29871840284625BCCEB5881FDD0DAE < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.1 KB  |  35 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_AutoSmallScratchRemoval():
  13.     return {
  14.         'LowerContrastLimit': 0, 
  15.         'RemoveDarkScratches': True, 
  16.         'RemoveLightScratches': False, 
  17.         'Strength': App.Constants.ScratchRemovalStrength.Aggressive, 
  18.         'UpperContrastLimit': 50, 
  19.         'GeneralSettings': {
  20.             'ExecutionMode': App.Constants.ExecutionMode.Default, 
  21.             'DialogPlacement': {
  22.                 'ShowMaximized': False, 
  23.                 'Rect': ((0,0), 0, 0)
  24.                 }, 
  25.             'PreviewVisible': True, 
  26.             'AutoProof': False, 
  27.             'AutoActionMode': App.Constants.AutoActionMode.Match
  28.             }
  29.         }
  30.  
  31. def Do(Environment):
  32.     # Auto Small Scratch Removal
  33.     App.Do( Environment, 'AutoSmallScratchRemoval',         Preset_AutoSmallScratchRemoval())
  34.  
  35.